import Vue from 'vue'
import VueRouter from 'vue-router'
import User from '../views/User.vue'
import Dept from '../views/Dept.vue'

Vue.use(VueRouter)

const routes = [
  {component:Dept,path:"/dept"}, 
  {component:User,path:"/user"}
]

const router = new VueRouter({
  routes
})

export default router
